Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Behavioral Analytics] Temporary remove GeoIP Processor from pipeline #96159

Merged
merged 1 commit into from
May 16, 2023

Conversation

joemcelroy
Copy link
Member

Due to the impact in tests #96129, we want to remove the geoip processor and re-introduce it for 8.9, once we have figured a path to lazily load the geoip database that the geo-ip processor requires.

@@ -57,13 +57,6 @@
"ignore_missing": true
}
},
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eyalkoren May I ask a few questions? This pipeline is now managed by the IndexTemplate registry

  • do I need to increase the REGISTRY_VERSION for this change?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally speaking- yes. As long as you use the same pipeline ID, I believe it won't be upgraded if it is already installed otherwise.
In your specific case, maybe it is not required (and even not preferred), because the geoip DB has already been downloaded, so you might as well keep using its processor...

I guess you need to decide whether you enforce proper version maintenance (and increase the version) or make an exception in this case (not increase the version- then only new clusters will use this form).
I hope this makes sense...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the answer! Yep as this is only a temporary change and will have a further change before 8.9 release, I will keep the version number the same.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So if your further change restores the pipeline state to be the same as it was before, this is indeed not required.
However, if after all your pipeline (or any other component installed through your registry) changes, then version should be increased, otherwise it won't be upgraded in rolling upgrades.

@joemcelroy joemcelroy marked this pull request as ready for review May 16, 2023 15:07
@elasticsearchmachine elasticsearchmachine added the needs:triage Requires assignment of a team area label label May 16, 2023
@joemcelroy joemcelroy requested a review from jimczi May 16, 2023 15:07
@jimczi jimczi added :EnterpriseSearch/Application Enterprise Search Team:Enterprise Search Meta label for Enterprise Search team >test Issues or PRs that are addressing/adding tests and removed needs:triage Requires assignment of a team area label labels May 16, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ent-search-eng (Team:Enterprise Search)

Copy link
Contributor

@jimczi jimczi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@joemcelroy joemcelroy merged commit fe1c82d into elastic:main May 16, 2023
@joemcelroy joemcelroy deleted the ba-remove-geoip-processor branch May 16, 2023 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:EnterpriseSearch/Application Enterprise Search Team:Enterprise Search Meta label for Enterprise Search team >test Issues or PRs that are addressing/adding tests v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants